package com.antball.dd.decorator.starbucks;

public abstract class DrinkDecorator extends Drink {

    protected Drink drink;

    public DrinkDecorator(Drink drink){
        this.drink = drink;
    }


    @Override
    public String getDescription() {
        return drink.getDescription()+super.getDescription();
    }


    @Override
    public int cost() {
        return drink.cost()+ getPrice();
    }
}
